import {
  defineConfig,
  presetUno,
  transformerDirectives,
  transformerVariantGroup,
} from "unocss";
import presetWind4 from '@unocss/preset-wind4'
import presetAnimations from "unocss-preset-animations";
import { presetDaisy } from "@unscatty/unocss-preset-daisy";

export default defineConfig({
  presets: [
    presetUno({
      dark: {
        dark: '[data-theme="dark"]',
        light: '[data-theme="light"]',
      },
      prefix: "",
    }),
    // @ts-ignore
    presetWind4(),
    presetAnimations(),
    presetDaisy({
      themes: true
    }),
  ],
  transformers: [transformerVariantGroup(), transformerDirectives()],
  theme: {},
});
